<html>
<body>
Reports <code>if</code> expressions that have <code>true</code> or <code>false</code>
constant literal condition and can be simplified.
<p>While occasionally intended, this construction is confusing and often the result of a typo
    or previous refactoring.</p>
<p><b>Example:</b></p>
<pre><code>
  fun example() {
      if (true) {
          throw IllegalStateException("Unexpected state")
      }
  }
</code></pre>
<p>The quick-fix removes the <code>if</code> condition:</p>
<pre><code>
  fun example() {
      throw IllegalStateException("Unexpected state")
  }
</code></pre>
<!-- tooltip end -->
</body>
</html>
